package com.huqingshan.LenMore.config.converter;

import org.springframework.core.convert.converter.Converter;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 对日期进行转换
 */
public class DateConverter implements Converter<String, Date> {

    private static final String DATEFORMATESTRING = "yyyy年MM月dd日 HH时mm分ss秒";

    SimpleDateFormat simpleDateFormat = new SimpleDateFormat(DATEFORMATESTRING);

    @Override
    public Date convert(String s){
        return null;
    }

}
